@extends('layouts.admin')
@section('title')
    <title>haircolor详情页</title>
@endsection
@section('content')
    @include('layouts.left')
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
               HairColor详情页
                <small>Control panel</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                <li class="active">Dashboard</li>
            </ol>
        </section>
        <!-- Main content -->
        <section class="content">
        <div class="row">
                <div class="col-md-12">
                    <div class="box">
                        <div class="box-header">
                            <h3 class="box-title">查看haicolor详情</h3>
                        </div>
                        <!-- /.box-header -->
                        <div class="box-body no-padding">
                            <table class="table table-striped">
                                <tbody>
                                <tr>
                                    <th style="width: 130px">haircolorid</th>
                                    <td>{{ $datas -> colorid }}</td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">颜色名称</th>
                                    <td>{{ $datas -> colorname }}</td>
                                </tr>
                                <tr>
                                    <th style="width:130px">颜色图片</th>
                                    <td><img src="http://img1.shishikeji.cn/{{ $datas -> samplethumb }}/64"></td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">默认</th>
                                    <td>
                                        @if($datas -> isdefault =='1')
                                            默认
                                        @else
                                            普通
                                        @endif
                                    </td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">发型颜色</th>
                                    <td><img src="http://img1.shishikeji.cn/{{ $datas -> hairurl }}/64" ></td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">状态</th>
                                    <td>
                                    @if($datas -> colorstatus == '1' )
                                        正常
                                    @else
                                        禁用
                                    @endif
                                    </td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">款式</th>
                                    <td>
                                    @if($datas -> hairsex  == '1' )
                                        女
                                    @else
                                        男
                                    @endif
                                    </td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">hair_style</th>
                                    <td class="sex"><img src="http://img1.shishikeji.cn/{{ $datas -> hairthumb }}/64"></td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">宽度</th>
                                    <td>{{ $datas -> hairwidth }}</td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">高度</th>
                                    <td>{{ $datas -> hairheight }}</td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">左x坐标</th>
                                    <td >{{ $datas -> leftx }}</td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">左y坐标</th>
                                    <td >{{ $datas -> lefty }}</td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">右x坐标</th>
                                    <td >{{ $datas -> rightx }}</td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">右y坐标</th>
                                    <td >{{ $datas -> righty }}</td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">排序</th>
                                    <td>{{ $datas -> sort}}</td>
                                </tr>
                                <tr>
                                    <th style="width: 130px">hair状态</th>
                                    <td >
                                        @if($datas -> status  == '1' )
                                            启用
                                        @else
                                            禁用
                                        @endif
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <!-- /.box-body -->
                    </div>
                    <!-- /.box -->
                </div>
                <!-- /.col -->
            </div>
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
    <!-- 在这里 写js函数-->

@endsection


